package com.app.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("tb_video_train")
@JsonInclude(JsonInclude.Include.NON_NULL)
public class VideoTrainModel {

    @TableId(type = IdType.AUTO)
    private Integer id;
    private String vName;//名称
    private String vUrl;//视频地址
    private String imgUrl;//封面图片
    @TableField(exist = false)
    private int vType;//类型
    @TableField(exist = false)
    private String vContent;//内容
    private String crtTime;//创建时间

    @TableField(exist = false)
    private Integer limit;
    @TableField(exist = false)
    private Integer page;
    @TableField(exist = false)
    private String keyWord;
    @TableField(exist = false)
    private String startTime;
    @TableField(exist = false)
    private String endTime;
    private int deleteState;//删除状态0删除1未删除
    @TableField(exist = false)
    private int count;

}
